package com.biz.model.Hmodel;
// default package

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;


/**
 * TUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sys_user")

public class TSysUser implements java.io.Serializable {


    private String user_code;
    private String login_name;
    private String pwd;
    private String person_name;
    private String open_id;
    private String pic_url;
    private Integer identity=0;
    private String identity_code;
    private String role_code;
    private String phone;
    private String email;
    private Integer discount_percent=0;
    private Double coefficient=0.0;
    private Integer today_commission=0;
    private Integer month_commission=0;
    private Integer type=0;
    private String notes;
    private Integer islock=0;
    private Integer sort=0;
    private Integer iscash=0;
    private String jobNumber;
    private Integer gender=0;
    private String idNumber;
    private String birthday;
    private Integer basicWage=0;
    private String enterDate;
    private String bankCardNumber;
    private String address;
    private Integer isdel=0;
    private Date create_time=new Date();
    private Integer isAddUser=0;



    // Property accessors
    @GenericGenerator(name = "generator", strategy = "uuid.hex")
    @Id
    @GeneratedValue(generator = "generator")

    @Column(name = "user_code", unique = true, nullable = false, length = 50)

    public String getUser_code() {
        return user_code;
    }

    public void setUser_code(String user_code) {
        this.user_code = user_code;
    }
    @Column(name = "login_name")
    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }
    @Column(name = "person_name")
    public String getPerson_name() {
        return person_name;
    }

    public void setPerson_name(String person_name) {
        this.person_name = person_name;
    }
    @Column(name = "open_id")
    public String getOpen_id() {
        return open_id;
    }

    public void setOpen_id(String open_id) {
        this.open_id = open_id;
    }
    @Column(name = "pic_url")
    public String getPic_url() {
        return pic_url;
    }

    public void setPic_url(String pic_url) {
        this.pic_url = pic_url;
    }
    @Column(name = "identity")
    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }
    @Column(name = "identity_code")
    public String getIdentity_code() {
        return identity_code;
    }

    public void setIdentity_code(String identity_code) {
        this.identity_code = identity_code;
    }
    @Column(name = "role_code")
    public String getRole_code() {
        return role_code;
    }

    public void setRole_code(String role_code) {
        this.role_code = role_code;
    }
    @Column(name = "phone")
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    @Column(name = "email")
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    @Column(name = "discount_percent")
    public Integer getDiscount_percent() {
        return discount_percent;
    }

    public void setDiscount_percent(Integer discount_percent) {
        this.discount_percent = discount_percent;
    }
    @Column(name = "coefficient")
    public Double getCoefficient() {
        return coefficient;
    }

    public void setCoefficient(Double coefficient) {
        this.coefficient = coefficient;
    }
    @Column(name = "today_commission")
    public Integer getToday_commission() {
        return today_commission;
    }

    public void setToday_commission(Integer today_commission) {
        this.today_commission = today_commission;
    }
    @Column(name = "month_commission")
    public Integer getMonth_commission() {
        return month_commission;
    }

    public void setMonth_commission(Integer month_commission) {
        this.month_commission = month_commission;
    }
    @Column(name = "type")
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    @Column(name = "notes")
    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }
    @Column(name = "islock")
    public Integer getIslock() {
        return islock;
    }

    public void setIslock(Integer islock) {
        this.islock = islock;
    }
    @Column(name = "sort")
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    @Column(name = "iscash")
    public Integer getIscash() {
        return iscash;
    }

    public void setIscash(Integer iscash) {
        this.iscash = iscash;
    }
    @Column(name = "jobNumber")
    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }
    @Column(name = "gender")
    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }
    @Column(name = "idNumber")
    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }
    @Column(name = "birthday")
    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    @Column(name = "basicWage")
    public Integer getBasicWage() {
        return basicWage;
    }

    public void setBasicWage(Integer basicWage) {
        this.basicWage = basicWage;
    }
    @Column(name = "enterDate")
    public String getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(String enterDate) {
        this.enterDate = enterDate;
    }
    @Column(name = "bankCardNumber")
    public String getBankCardNumber() {
        return bankCardNumber;
    }

    public void setBankCardNumber(String bankCardNumber) {
        this.bankCardNumber = bankCardNumber;
    }
    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    @Column(name = "isdel")
    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }
    @Column(name = "create_time")
    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    @Column(name = "isAddUser")
    public Integer getIsAddUser() {
        return isAddUser;
    }

    public void setIsAddUser(Integer isAddUser) {
        this.isAddUser = isAddUser;
    }
    @Column(name = "pwd")
    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}